function xunc=minlog2mod(xunc,bounds)
% Transform the unconstrained xunc into the constrained one with bounds bounds(:,1)<=x<=bounds(:,2) 
% using the logistic transformation 
% Inverse function is modlog2min; 
num=bounds(:,2)-bounds(:,1); 
den=ones(length(xunc),1)+exp(-xunc); 
xunc=bounds(:,1)+(num./den); 

